package com.ship.dispatch.service;

import com.ship.common.business.service.BaseService;
import com.ship.dispatch.bean.SpDispatchOptimizeSchemeDetail;
import com.ship.dispatch.bean.SpYearPlanSchemeDetail;
import com.ship.dispatch.bo.VirtualShipOptimizeSchemeDetailBO;

public interface SpDispatchOptimizeSchemeDetailService extends BaseService<SpDispatchOptimizeSchemeDetail> {

    /**
     * 查询调度优化详情最新一条
     * @param createBy
     * @param planId
     * @return
     */
    SpDispatchOptimizeSchemeDetail selectMaxOptimizeSchemeDetail(String createBy,Long planId);

    /**
     * 虚拟船保存甘特图(调度优化)
     * @param virtualShipSchemeDetailBO
     * @return
     */
    SpDispatchOptimizeSchemeDetail saveOptimizeVirtualShipSchemeDetail(VirtualShipOptimizeSchemeDetailBO virtualShipSchemeDetailBO);
}
